#include "relayevent.h"

RelayEvent::RelayEvent(void *data, int action) :
    QEvent(static_cast<QEvent::Type>(RELAY_EVENT))
{
    m_pData = data;
    m_nAction = action;
}

RelayEvent::~RelayEvent()
{
}

void *RelayEvent::data()
{
    return m_pData;
}

int RelayEvent::action()
{
    return m_nAction;
}
